﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Main.Master" Inherits="System.Web.Mvc.ViewPage<Defect_Tracking_System.Models.Project>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	ViewDetails
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div id="page-heading"><h1>View Details</h1></div>
        <table cellspacing="0" cellpadding="0" border="0" width="100%" id="content-table">
        <tbody><tr>
	        <th class="sized" rowspan="3"><img height="300" width="20" alt="" src="/Content/images/shared/side_shadowleft.jpg"/></th>
	        <th class="topleft"></th>
	        <td id="tbl-border-top">&nbsp;</td>
	        <th class="topright"></th>
	        <th class="sized" rowspan="3"><img height="300" width="20" alt="" src="/Content/images/shared/side_shadowright.jpg"/></th>
        </tr>
        <tr>
	        <td id="tbl-border-left"></td>
	        <td>
	        <!--  start content-table-inner -->
	        <div id="content-table-inner">

	        <table cellspacing="0" cellpadding="0" border="0" width="100%">
	        <tbody><tr valign="top">
	        <td>	
		        <!--  end step-holder -->
	            <% using (Html.BeginForm())
                { %>
                <!-- start id-form -->
                <% 
                if(ViewData["message"]!=null)
                {
                    %>
                        <div><%: ViewData["message"] %></div>
                    <%
                }
                %>
                <table cellspacing="0" cellpadding="0" border="0" id="id-form">
                <tbody>
                <tr>
			        <th valign="top">ProjectName:</th>
			        <td><%: Model.ProjectName %></td>
			        <td></td>
		        </tr>
		        <tr>
			        <th valign="top">Description:</th>
			        <td><%: Model.Description%></td>
			        <td></td>
		        </tr>
                <tr>
			        <th valign="top">Creator:</th>
			        <td><%: Model.Account.UserName%></td>
			        <td></td>
		        </tr>
                <tr>
			        <th valign="top">IsActive:</th>
			        <td><%: Html.CheckBoxFor(m => m.IsActive, new { disabled = "disabled" })%></td>
			        <td></td>
		        </tr>
            </tbody>
        </table>
        <%: Html.ActionLink("Edit", "EditProject", new { ProjectId = Model.ProjectId }, new {@class="button1"})%> 
        <%: Html.ActionLink("Delete", "DeleteProject", new { ProjectId = Model.ProjectId }, new { @class = "button2" })%> 
        <% if(Request.UrlReferrer != Request.Url){ %>
            <a href="<%: Request.UrlReferrer %>" class="button2">Back</a>
        <%}else{ %>
            <%: Html.ActionLink("Back", "Index", new { @class = "button2" })%>
        <%} %>
                <!-- end id-form  -->
                <%} %>

	        </td>
	       <td>
<div class="margin-padding">
	<!--  start related-activities -->
	<div id="related-activities">
		
		<!--  start related-act-top -->
		<div id="related-act-top">
		<img height="43" width="271" alt="" src="/Content/images/shared/Helper.png" />
		</div>
		<!-- end related-act-top -->
		
		<!--  start related-act-bottom -->
		<div id="related-act-bottom">
		
			<!--  start related-act-inner -->
			<div id="related-act-inner">
			
				<div class="left"><a href=""><img height="21" width="21" alt="" src="/Content/images/forms/icon_plus.gif"></a></div>
				<div class="right">
					<h5>Manager Project</h5>
					Manager all projects.You can delete, edit, view any project ...
					<ul class="greyarrow">
						<li><a href="/Help?Url=/Content/Help/ProjectGuide.html">Click here to visit</a></li>
					</ul>
				</div>
				
				<div class="clear"></div>
				<div class="lines-dotted-short"></div>
				
				<div class="left"><a href=""><img height="21" width="21" alt="" src="/Content/images/forms/icon_minus.gif"></a></div>
				<div class="right">
					<h5>Delete Project</h5>
					Manager all projects. You can delete a project by ...
					<ul class="greyarrow">
						<li><a href="/Help?Url=/Content/Help/ProjectGuide.html-DeleteProject">Click here to visit</a></li> 
					</ul>
				</div>
				
				<div class="clear"></div>
				<div class="lines-dotted-short"></div>
				
				<div class="left"><a href=""><img height="21" width="21" alt="" src="/Content/images/forms/icon_edit.gif"></a></div>
				<div class="right">
					<h5>Edit Project</h5>
					Manager all proects. You can edit any project ...
					<ul class="greyarrow">
						<li><a href="/Help?Url=/Content/Help/ProjectGuide.html-EditProject">Click here to visit</a></li> 
					</ul>
				</div>
				<div class="clear"></div>
				
			</div>
			<!-- end related-act-inner -->
			<div class="clear"></div>
		
		</div>
		<!-- end related-act-bottom -->
	
	</div>
	<!-- end related-activities -->
</div>
    </td>
        </tr>
        <tr>
        <td><img height="1" width="695" alt="blank" src="/Content/images/shared/blank.gif"></td>
        <td></td>
        </tr>
        </tbody></table>
 
        <div class="clear"></div>
 

        </div>
        <!--  end content-table-inner  -->
        </td>
        <td id="tbl-border-right"></td>
        </tr>
        <tr>
	        <th class="sized bottomleft"></th>
	        <td id="tbl-border-bottom">&nbsp;</td>
	        <th class="sized bottomright"></th>
        </tr>
        </tbody></table>

        <div class="clear">&nbsp;</div>

</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Fotter" runat="server">
</asp:Content>
 